extend layout
block main
	style
		.panel-default > .panel-heading.recomand{
			background: #2bb5dc;
			color: white;
			border-radius: 0;
			border: none;
			font-weight:bolder;
		}
	.row(style="background:#FFF")
		#detail.col-md-8!=article.content.replace(/<script[^>]*?>[\s\S]*?<\/script>/ig,'').replace('<a href="javascript:report_article();" class="page-imform">举报</a>','')
			//- #uyan_frame
			//- script(type="text/javascript",src="http://v2.uyan.cc/code/uyan.js?uid=1842042")
				
		#like.col-md-4

			#twitter-widget
				.user
					.avatar
						img(src="http://headimg.qiniudn.com/"+account.username+'.jpg')
					.data
						span.name='@'+account.nickname
						br
						|#{account.category}
				.details
					p=account.signature
					ul
						li
							span.number=account.article_count+'篇'
						li
							span.number=account.article_count*2+'喜欢'

				.button
					a(href="/account/"+account.id+'/index',style="text-decoration:none !important;")
						span.btn-orange
							span 查看更多
			br

			.panel.panel-default
				.panel-heading.recomand 推荐阅读
				.list-group
					for article in recomandist
						a.list-group-item(href='/article/'+article.id)
							b=article.title
	script.
		var viewSource = function(){
			window.open('#{article.sourceurl}');
		}